package com.pyue.eam.admin.api.entity.regi;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pyue.eam.admin.api.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 不良输入
 *
 * @date 2023-11-17 15:34:17
 */
@Data
@TableName("cq_task_ng")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "不良输入")
public class CqTaskNgEntity extends BaseEntity {


    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 任务 id
     */
    @Schema(description = "任务 id")
    private Long taskId;

    /**
     * 零件 id
     */
    @Schema(description = "零件 id")
    private Long partId;

    /**
     * 零件批次
     */
    @Schema(description = "零件批次")
    private String partBatch;

    /**
     * 失效模式id
     */
    @Schema(description = "失效模式id")
    private Long reasonId;

    /**
     * 失效描述
     */
    @Schema(description = "失效描述")
    private String reasonDesc;

    /**
     * 发生日期
     */
    @Schema(description = "发生日期")
    private String faultyDate;

    /**
     * 发生地点
     */
    @Schema(description = "发生地点")
    private String faultyAddr;

    /**
     * 零件不良数量
     */
    @Schema(description = "零件不良数量")
    private Integer faultyNum;

    /**
     * 生产日期
     */
    @Schema(description = "生产日期")
    private String manufactureDate;

    /**
     * 是否重复发生
     */
    @Schema(description = "是否重复发生")
    private String repeatable;

    /**
     * 临时措施
     */
    @Schema(description = "临时措施")
    private String tempHandle;

    /**
     * 头像
     */
    @Schema(description = "头像")
    private String userAvatar;

    /**
     * 图片路径
     */
    @Schema(description = "图片路径")
    private String extPics;

    /**
     * 定原因
     */
    @Schema(description = "定原因")
    private String whyProp;

    /**
     * 定事情
     */
    @Schema(description = "定事情")
    private String whatProp;

    /**
     * 定时间
     */
    @Schema(description = "定时间")
    private String whenProp;

    /**
     * 定地点
     */
    @Schema(description = "定地点")
    private String whereProp;

    /**
     * 定人
     */
    @Schema(description = "定人")
    private String whoProp;

    /**
     * 定方法
     */
    @Schema(description = "定方法")
    private String howProp;

    /**
     * 定费用
     */
    @Schema(description = "定费用")
    private String howMuchProp;

    /**
     * 状态（0正常 1停用）
     */
    @Schema(description = "状态（0正常 1停用）")
    private String status;

    /**
     * 文件列表
     */
    @Schema(description = "文件列表")
    private String fileIds;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

}
